.dashboard-container {
  padding: 16px;
  background-color: var(--bg-color);
  min-height: calc(100vh - 64px);
}

.dashboard-header {
  margin-bottom: 20px;
}

.dashboard-header h2 {
  margin: 0;
  font-size: 24px;
  color: var(--text-color);
}

.dashboard-header p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(153, 153, 153, 0.8);
}

/* 统计卡片样式 */
.stats-cards {
  margin-bottom: 16px;
}

.stats-card {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
  background-color: var(--card-bg);
}

.stats-card-content {
  display: flex;
  align-items: center;
  padding: 16px;
}

.stats-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: white;
  margin-right: 12px;
}

.orders-card .stats-icon {
  background-color: #1677ff;
}

.users-card .stats-icon {
  background-color: #52c41a;
}

.products-card .stats-icon {
  background-color: #fa8c16;
}

.stats-info {
  flex: 1;
}

.stats-title {
  font-size: 14px;
  color: rgba(102, 102, 102, 0.8);
  margin-bottom: 4px;
}

.stats-value {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-color);
}

.stats-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--bg-color);
  font-size: 12px;
  color: rgba(102, 102, 102, 0.8);
}

/* 收入卡片样式 */
.revenue-card {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.revenue-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: white;
}

.revenue-title {
  font-size: 16px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.revenue-value {
  font-size: 32px;
  font-weight: 600;
}

/* 最近订单卡片样式 */
.recent-orders-card {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
  background-color: var(--card-bg);
}

.order-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.order-item-name {
  flex: 1;
}

.order-item-price {
  font-weight: 500;
  color: #ff4d4f;
}

/* 热门商品卡片样式 */
.hot-products-card {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 空数据提示 */
.empty-data {
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* 加载样式 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
}

.loading-spinner {
  font-size: 14px;
  color: #888;
}